<div class="top-bar">
    <a href="add-faq.html" class="button">ADD NEW</a>
    <h1>Gestion de la FAQ</h1>
    <div class="breadcrumbs"><a href="faq.html">FAQ</a> / Liste</div>
</div><br />
<div class="select-bar"></div>
<div class="table">
   <img src="../backend_images/bg-th-left.gif" width="8" height="7" alt="" class="left" />
   <img src="../backend_images/bg-th-right.gif" width="7" height="7" alt="" class="right" />
   <table class="listing" cellpadding="0" cellspacing="0">
        <tr>
            <th class="first" width="177">Question</th>
            <th>Réponse</th>
            <th>Activé</th>
            <th class="last">Actions</th>
        </tr>
        <?php foreach($faqlist as $faq):  ?>
        <tr>
            <td class="first style1"><?php echo $faq->getQuestion()  ?></td>
            <td><?php echo html_entity_decode($faq->getAnswer())  ?></td>
            <td><input type="checkbox" name="isactive" value="<?php echo $faq->getIsactive() ?>" <?php echo $faq->getIsactive()!=''?' checked="checked"':'' ?>/></td>
            <td class="last"><a href="faq-delete-<?php echo $faq->getId() ?>.html" onclick="return(confirm('Êtes-vous sûr?'));"><img src="../backend_images/hr.gif" style="width:16px; height:16px;" alt="Supprimer" /></a> <a href="faq-edit-<?php echo $faq->getId() ?>.html"><img src="../backend_images/edit-icon.gif" style="width:16px; height:16px;" alt="&Eacute;diter" /></a></td>
        </tr>
        <?php endforeach;?>
    </table>
    
    <div class="select">
        <strong><?php if( isset($var) ) echo $var; ?></strong>
    </div>
</div>
